<%@page language="java" pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<html>
	<head>
		<title>My JSP 'login.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

	</head>

	<body>
		<form:form action="login.do" method="post" commandName="loginForm">
			<div>
				<table>
					<tr>
						<td>
							手机号：
						</td>
						<td>
							<form:input path="mobile" />
						</td>
						<td>
							<form:errors path="mobile" />
						</td>
					</tr>
					<tr>
						<td>
							密码：
						</td>
						<td>
							<form:password path="password" />
						</td>
						<td>
							<form:errors path="password" />
						</td>
					</tr>
				</table>
			</div>
			<div>
				<input type="submit" value="登录" />
				&nbsp;
				<a href="userRegistration.do">注册</a>
			</div>
		</form:form>
		<br>
	</body>
</html>
